You are here: Routing Rules > First Available
Syntax samples
Selects the first location available among one or more locations listed in a routing block. Specifying multiple First Available routings in a routing block has the same effect as specifying a First Available routing followed by one or more ALTERNATE routings. An example of using the First Available rule in a routing block is given below.
The First Available rule is the default rule when defining the initial routing in the Process Editor. In this case, the First Available routing can be interpreted to be the "primary" routing.
The rule field of the Routing edit table only.
Components
<expression>
The total entities output from the process. This expression is valid only for the first routing of a routing block. For more information on this expression, see the Processing.
Example
After EntA completes a 4 minute operation at Loc1, it is routed to Loc2, Loc3 or Loc4 depending on which location is the first to have available capacity.
Process Table
Entity |
Location |
Operation (min) |
---|---|---|
EntA |
Loc1 |
WAIT 4 |
Routing Table
Blk |
Output |
Destination |
Rule |
Move Logic |
---|---|---|---|---|
1 |
EntA |
Loc2 |
FIRST 1 |
|
EntA |
Loc3 |
FIRST |
|
|
EntA |
Loc4 |
FIRST |
|